package response;

import core.Constants;
import core.GamePacket;

/**
 * @author brian
 */
public class ResponseLocalPlayers extends GameResponse {

    public ResponseLocalPlayers() {
        code = Constants.SMSG_LOCAL_PLAYERS;
    }

    @Override
    public byte[] createResponse() {
        // int numResults [, character_name1, sprite1, pos_x1, pos_y1 [,character_name2, ... [,etc]]]
        GamePacket packet = new GamePacket(code);
        packet.addInt32(1);
        packet.addString("destructor69");
        packet.addString("leprechaun");
        packet.addInt32(5);
        packet.addInt32(5);

        return packet.getBytes();
    }
}